<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$site_url}/" />
<!-- Use IE8 mode -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8 charset={$charset}" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
{$page_seo}

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> 

<link type="text/css" href="{res file=css/header.css}" rel="stylesheet" />
<link type="text/css" href="{res file=css/main.css}" rel="stylesheet"  />
<link type="text/css" href="{res file=css/footer.css}" rel="stylesheet" />

<script type="text/javascript" src="{lib file=jslang.js}"></script>
<script type="text/javascript" src="{lib file=jquery.js}" charset="utf-8"></script>
<script type="text/javascript" src="{lib file=ecmall.js}" charset="utf-8"></script>
<script type="text/javascript" src="{lib file=cart.js}" charset="utf-8"></script>
<script type="text/javascript" src="{lib file=kissy/build/kissy.js}"></script>
<script type="text/javascript" src="{lib file=kissy/build/switchable/switchable-pkg.js}"></script>
<script type="text/javascript" src="{lib file=jquery.plugins/jquery.lazyload.js}" charset="utf-8"></script>
<script type="text/javascript" src="{res file=js/main.js}" charset="utf-8"></script> 

<!--[if lte IE 6]>
<script type="text/javascript" language="Javascript" src="{res file=js/hoverForIE6.js}"></script>
<![endif]-->

<script type="text/javascript">
//<!CDATA[
var SITE_URL = "{$site_url}";
var REAL_SITE_URL = "{$real_site_url}";
var PRICE_FORMAT = '{$price_format}';
//]]>
</script>

{$_head_tags}
<!--<editmode></editmode>-->
</head>
<body>
<div id="site-nav" class="w-full">
   <div class="shoptop w clearfix">

      <ul class="quick-menu">
        {if !$index}<li class="home"><a href="{$site_url}">{$lang.back_home}</a></li>{/if}
        <li class="item">
           <div class="menu iwantbuy">
              <a class="menu-hd" href="{url app=category}">{$lang.i_want_buy}<b class="front"></b><b class="behind"></b></a>
              <div class="menu-bd">
                 <div class="menu-bd-panel">
                    <div>
                       <p><a href="{url app=category}">{$lang.gcategory}</a></p>                    
                    </div>
                 </div>
              </div>
           </div>
         </li>
         <li class="item">
            <div class="menu mytb">
               <a class="menu-hd" href="{url app=buyer_admin}">{$lang.im_buyer}<b class="front"></b><b class="behind"></b></a>
               <div class="menu-bd">
                  <div class="menu-bd-panel">
                     <div>
                        <p><a href="{url app=buyer_order}">{$lang.have_goods}</a></p>
                        <p><a href="{url app=friend}">{$lang.my_friends}</a></p>
                        <p><a href="{url app=my_question}">{$lang.my_advice}</a></p>
                     </div>
                  </div>
               </div>
            </div>
         </li>
          <!--lichen 2019/5/9 start store-->
         <!--<li class="item">-->
            <!--<div class="menu seller-center">-->
               <!--<a class="menu-hd" href="{url app=seller_admin}">{$lang.Seller_Center}<b class="front"></b><b class="behind"></b></a>-->
               <!--<div class="menu-bd">-->
                  <!--<div class="menu-bd-panel">-->
                     <!--<div>-->
                        <!--<p><a href="{url app=seller_order}">{$lang.sold_goods}</a></p>-->
                        <!--<p><a href="{url app=my_goods}">{$lang.selling_goods}</a></p>-->
                     <!--</div>-->
                  <!--</div>-->
               <!--</div>-->
            <!--</div>-->
         <!--</li>-->
          <!--lichen 2019/5/9 end-->
         <li class="service">
            <a href="{url app=article&code=help}">{$lang.help_center}</a>
         </li>
         <li class="item">
            <div class="menu favorite">
               <a class="menu-hd" href="{url app=my_favorite}">{$lang.favorite}<b class="front"></b><b class="behind"></b></a>
               <div class="menu-bd">
                  <div class="menu-bd-panel">
                     <div>
                       <p><a href="{url app=my_favorite}">{$lang.favorite_goods}</a></p>
                         <!--lichen 2019/5/9 start store-->
                       <!--<p><a href="{url app=my_favorite&type=store}">{$lang.favorite_store}</a></p>-->
                         <!--lichen 2019/5/9 end-->
                    </div>
                 </div>
               </div>
           </div>
         </li>
         <li class="item" style="background:none">
            <div class="menu sites">
               <a class="menu-hd" href="javascript:;">{$lang.navigation}<b class="front"></b><b class="behind"></b></a>
               <div class="menu-bd padding10">
                  <!--{foreach from=$navs.header item=nav}-->
                  <a href="{$nav.link}"{if $nav.open_new} target="_blank"{/if}>{$nav.title|escape}</a>
                  <!--{/foreach}-->
               </div>
            </div>
        </li>
     </ul>
       
      <div class="login_info">
         {$lang.hello}
         <!--{if !$visitor.user_id}-->
         <a href="{url app=member&act=login&ret_url=$ret_url}">{$lang.login}</a>
         <a href="{url app=member&act=register&ret_url=$ret_url}" style="color:#f10215">{$lang.free_charge}{$lang.register}</a>
         <!--{else}-->
          <a href="{url app=member}">{$visitor.phone_mob|escape}</a>
          <!--<a href="{url app=member}">{$visitor.user_name|escape}</a>-->
          <!--lichen 2019/5/27 end-->
         <a href="{url app=message&act=newpm}">{$lang.pm}<!--{if $new_message}-->(<span>{$new_message}</span>)<!--{/if}--></a>
         <a href="{url app=member&act=logout}">{$lang.logout}</a>
         <!--{/if}-->
      </div>
   </div>
</div>